#include <iostream>

using namespace std;

int main(int argc, char const *argv[])
{
    char *p;
    p = new char[2]{'5', '6'};
    cout << *p << *(p + 1) << endl;
    delete []p;

    int *j;
    j = new int[5]{1,2,3,4,5};
    cout << *j << *(j + 1) << *(j + 2) <<*(j + 3) <<*(j + 4) <<endl;

    return 0;
}
